package com.peanut.baby.mvp.livedetail.livegroupdetail;

import com.peanut.baby.model.LiveGroupAll;
import com.peanut.baby.model.LiveRoom;
import com.peanut.baby.mvp.BasePresenter;
import com.peanut.baby.mvp.BaseView;

/**
 * Created by anonymouslystudio on 2017/7/21.
 */

public interface LiveGroupDetailContract {
    interface View extends BaseView{
        void onGetLiveGroupAllSuccess(LiveGroupAll all);
        void onRequestFailed(String code, String reason);
        void onJoinSuccess();
        void onSharePointSuccess(String tips);
    }

    interface Presenter extends BasePresenter{
        void getLiveGroupAll();
        void joinRoom(String roomId);
        void sharePoint(String roomId);
    }
}
